package com.js.lib_common.mvp.model;

/**
 * 20/3/31 1
 *
 * @param <T>网络请求响应实体类
 */
public class CommonBean<T> {


    private boolean success;
    private String msg;
    private T obj;
    private String code;
    private String data;


    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
